package com.open.system.dao;

import com.open.system.domain.LoanContactDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 联系人
 * @author xxxx
 * @email xxxx
 * @date xxxx-08-29 14:26:51
 */
@Mapper
public interface LoanContactDao {

	LoanContactDO get(Long id);
	
	List<LoanContactDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	List<LoanContactDO> list2(Map<String, Object> map);
	
	int count2(Map<String, Object> map);
	
	int save(LoanContactDO loanContact);
	
	int update(LoanContactDO loanContact);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int updateHasemptyByUserId(Long id);
}
